package cn.mily.basics.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer localPage=1;
    private Integer pageSize=10;
    private Integer pageBegin;

    public Integer getPageBegin(){
        return (this.localPage-1)*this.pageSize;
    }
}
